export const userLogin = (data) => {
  return new Promise((resolve, reject)=>{
    if (data){
      resolve(data);
    } else {
      reject('登录失败');
    }
  })
}